#ifndef RUN_TLD_H
#define RUN_TLD_H


#include <opencv2/opencv.hpp>
#include <tld_utils.h>
#include <iostream>
#include <sstream>
#include <TLD.h>
#include <stdio.h>
#include <unistd.h>

//#define H_HEIGHT 720
//#define W_WIDTH 1280
#define H_HEIGHT 2048
#define W_WIDTH 2048

#define SEARCH_H 256
#define SEARCH_W 256

#define MOBAN_H 64
#define MOBAN_W 64

#define S_SCALE 90

//VideoWriter writer;
//VideoWriter writer1;
//Mat rotateImg;
//Mat rotateImg_temp;
//Mat rotateImg_temp_xuan;
//BoundingBox xg_box;
//Mat current_gray;
//TLD tld;

void readBB(char* file);
void mouseHandler(int event, int x, int y, int flags, void *param);
void print_help(char** argv);
void read_options(int argc, char** argv,VideoCapture& capture,FileStorage &fs);
#endif // RUN_TLD_H
